#pragma once

#include <SnakeLib/Direction.h>
#include <SnakeLib/ISolver.h>

#include "API.h"

class MYSOLVER_API MySolver
  : public snake::ISolver
{
public:
  virtual snake::EDirection Solve(const snake::Problem &problem) override;

  void FindHead(const snake::Problem  &problem, size_t &x, size_t &y);
  snake::EDirection MySolver::GetNextDirection(snake::Problem problem);
};